package com.starlinkdt.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starlinkdt.common.domain.system.dto.OaiPermDto;
import com.starlinkdt.common.domain.system.entity.OaiPerm;
import com.starlinkdt.common.domain.system.entity.OaiReqLog;
import com.starlinkdt.common.domain.system.vo.OaiReqLogVo;

import java.util.List;

/**
 * OAI权限Perm接口
 * 
 * @author system
 */
public interface IOaiPermService
{
    /**
     * 查询OAI权限列表
     *
     * @param oaiPermSearch OAI权限
     * @return OAI权限集合
     */
    public List<OaiPerm> selectOaiPermList(OaiPerm oaiPermSearch);

    /**
     * 查询OAI权限
     *
     * @param permBizNo OAI权限唯一编码
     * @return OAI权限
     */
    public OaiPerm selectOaiPermByPermBizNo(String permBizNo);

    /**
     * 新增OAI权限
     *
     * @param oaiPermDto OAI权限
     * @return 结果
     */
    public int insertOaiPerm(OaiPermDto oaiPermDto);

    /**
     * 修改OAI权限
     *
     * @param oaiPermDto OAI权限
     * @return 结果
     */
    public int updateOaiPermByPermBizNo(OaiPermDto oaiPermDto);

    /**
     * 启用OAI权限
     *
     * @param permBizNos OAI权限唯一编码
     * @return 结果
     */
    public int enableOaiPermByPermBizNos(String[] permBizNos);

    /**
     * 禁用OAI权限
     *
     * @param permBizNos OAI权限唯一编码
     * @return 结果
     */
    public int disableOaiPermByPermBizNos(String[] permBizNos);

    /**
     * 删除OAI权限
     *
     * @param permBizNo OAI权限唯一编码
     * @return 结果
     */
    public int deleteOaiPermByPermBizNo(String permBizNo);

    /**
     * 批量删除OAI权限
     *
     * @param permBizNos OAI权限唯一编码
     * @return 结果
     */
    public int deleteOaiPermByPermBizNos(String[] permBizNos);

}
